package practica1.language;

import java.util.ResourceBundle;

/**
 * Clase que implementa el evento producido por Language
 * @author Miguel González - Ceura
 */
public class LanguageEvent {
    private ResourceBundle resourceBundle;
    
    /**
     * Recibe un ReosurceBundle del idioma
     * @param resourceBundle ResourceBundle
     */
    public LanguageEvent(ResourceBundle resourceBundle) {
        this.resourceBundle = resourceBundle;
    }
    
    /**
     * Devuelve el ResourceBundle del idioma
     * @return 
     */
    public ResourceBundle getResourceBundle() {
        return resourceBundle;
    }
}
